<html>
<head><meta charset="utf-8"><title>error: couldn&#x27;t load codegen backend · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/error.3A.20couldn&#x27;t.20load.20codegen.20backend.html">error: couldn&#x27;t load codegen backend</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="167828103"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/error%3A%20couldn%27t%20load%20codegen%20backend/near/167828103" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Armando Venturi <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/error.3A.20couldn&#x27;t.20load.20codegen.20backend.html#167828103">(Jun 11 2019 at 08:02)</a>:</h4>
<p>Hi everyone, I'm trying to run Rust on a Solaris virtual machine but as soon as I go with "cargo run" it shows me the following error. Can anyone help? Thank you in advance.</p>
<p>error: process didn't exit successfully: <code>rustc -vV</code> (exit code: 1)<br>
--- stdout<br>
rustc 1.35.0<br>
binary: rustc<br>
commit-hash: unknown<br>
commit-date: unknown<br>
host: x86_64-sun-solaris<br>
release: 1.35.0</p>
<p>--- stderr<br>
error: couldn't load codegen backend "/opt/local/lib/rustlib/x86_64-sun-solaris/codegen-backends/librustc_codegen_llvm-llvm.so": "ld.so.1: rustc: fatal: libintl.so.8: open failed: No such file or directory"</p>



<a name="167831192"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/error%3A%20couldn%27t%20load%20codegen%20backend/near/167831192" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/error.3A.20couldn&#x27;t.20load.20codegen.20backend.html#167831192">(Jun 11 2019 at 08:51)</a>:</h4>
<p>does that indicate that you need to install libintl8 ?</p>



<a name="167831249"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/error%3A%20couldn%27t%20load%20codegen%20backend/near/167831249" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/error.3A.20couldn&#x27;t.20load.20codegen.20backend.html#167831249">(Jun 11 2019 at 08:52)</a>:</h4>
<p>which I guess comes from GNU gettext ?</p>



<a name="167831291"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/error%3A%20couldn%27t%20load%20codegen%20backend/near/167831291" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> pnkfelix <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/error.3A.20couldn&#x27;t.20load.20codegen.20backend.html#167831291">(Jun 11 2019 at 08:53)</a>:</h4>
<p>yeah the more I read, it seems that an error message like that may indicate that you need to install a package named <code>gettext</code></p>



<a name="167922801"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/error%3A%20couldn%27t%20load%20codegen%20backend/near/167922801" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Armando Venturi <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/error.3A.20couldn&#x27;t.20load.20codegen.20backend.html#167922801">(Jun 12 2019 at 07:34)</a>:</h4>
<p>I solved this, I just needed to move the "libintl.so.8" file to the lib directory. Thank you anyway!</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>